﻿<link href="@Url.Content("~/content/activitie_detail.css")" rel="stylesheet" type="text/css"/>
<link href="@Url.Content("~/content/table_btn.css")" rel="stylesheet" type="text/css"/>

<!--[if lt IE 8]>
    <link href="@Url.Content("~/content/activitie_create.css")" rel="stylesheet" type="text/css"/>
<![endif]-->

<noscript>
    <link href="@Url.Content("~/content/activitie_create.css")" rel="stylesheet" type="text/css"/>
    <link href="@Url.Content("~/content/activitie_noscript.css")" rel="stylesheet" type="text/css"/>
</noscript>

@model PessModel.Subject

@{
    ViewBag.Title = "Edit";
}

<h2>编辑</h2>
<div id="operate">
    @Html.ActionLink("返回", "Index", "Rule", new { activityID=Model.ActivityID},null)
</div>

@using (Html.BeginForm()) {
    @Html.AntiForgeryToken()
    @Html.ValidationSummary(true)

    <fieldset class="edit">
        <legend>@Html.DisplayFor(model=>model.Activity.Name)</legend>

        @Html.HiddenFor(model => model.ID)
        @Html.HiddenFor(model=>model.ActivityID)

        @* <div class="editor-label">
           @Html.LabelFor(model => model.ActivityID, "Activity")活动：
        </div>
        <div class="editor-field">
            @Html.DisplayFor(model=>model.Activity.Name)
            
        </div>*@

        <div class="editor-label">
            @*@Html.LabelFor(model => model.Name)*@学科名称：
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Name)
            @Html.ValidationMessageFor(model => model.Name)
        </div>

        <div class="editor-label">
            @*@Html.LabelFor(model => model.AllowExpertLeaderSetRules)*@允许组长设定规则：
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.AllowExpertLeaderSetRules)
            @Html.ValidationMessageFor(model => model.AllowExpertLeaderSetRules)
        </div>

         <div class="editor-btn">
            <input type="submit" value="保存" />
        </div>
    </fieldset>
}

